package com.sparrow.example_message.base.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "返回心跳")
@Packet(msgId = PacketId.Base.RESP_HEAT_BEAT)
public class RespHeatBeatPacket {

    @Protobuf(description = "服务器时间戳ms")
    private long serverTime;

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public long getServerTime() {
        return serverTime;
    }
}
